package cn.tedu.egmybatis1.mapper;

import cn.tedu.egmybatis1.pojo.entity.Orders;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface OrdersMapper {
    @Insert("INSERT INTO orders(state,amount,created) VALUES (#{state},#{amount},#{created})")
    int insertOrders(Orders orders);
}







